export const isUndefined = (obj) => {
	return obj === undefined;
};

export const setDefaultValue = (obj, dv) => {
	return isUndefined(obj) ? dv : obj;
};

export const normalize = (obj = {}) => {
	return JSON.parse(JSON.stringify(obj));
};
